package com.zeroone.star.systemhome.mapper.message;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zeroone.star.project.dto.systemhome.MessageDTO;
import com.zeroone.star.systemhome.entity.MsgInstant;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @BelongsProject: oa-java
 * @BelongsPackage: com.zeroone.star.systemhome.mapper.message
 * @Author: dashuai
 * @CreateTime: 2024-11-19  10:13
 * @Description: 消息mapper接口
 * @Version: 1.0
 */
@Mapper
public interface MessageMapper extends BaseMapper<MsgInstant> {
    List<String> selectContents();

    List<MessageDTO> selectMessageInfo(String id, String type);
}
